package com.xiaoxu.intranetweb.mybatisplusSzappdb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 产品预调价表
 * </p>
 *
 * @author xiaoxu
 * @since 2022-12-27
 */
@Data
@TableName("c_pdt_pre_price")
@ApiModel(value = "CPdtPrePrice对象", description = "产品预调价表")
public class CPdtPrePrice implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private BigDecimal prepriceId;

    private String prepriceName;

    private String prepriceOpr;

    private String prepriceApprver;

    private String prepriceApprver2;

    @ApiModelProperty("错误信息")
    private String prepriceErr;

    @ApiModelProperty("如:执行前30分钟提醒")
    private BigDecimal prepriceAlarmPt;

    @ApiModelProperty("如:执行前10分钟最后提醒，提醒后就无法过磅了")
    private BigDecimal prepriceAlarmPt2;

    @ApiModelProperty("指令大状态")
    private BigDecimal prepriceStatus;

    @ApiModelProperty("执行细节状态")
    private BigDecimal prepriceExeSts;

    private LocalDateTime prepriceApprvTm;

    private LocalDateTime prepriceApprvTm2;

    @ApiModelProperty("设定时间")
    private LocalDateTime prepricePreTm;

    @ApiModelProperty("实际执行时间")
    private LocalDateTime prepriceExeTm;

    private LocalDateTime svrTmstamp;

    private LocalDateTime cliTmstamp;

    private Integer prepriceApprved;

    private Integer prepriceApprved2;

    @ApiModelProperty("标志此条信息已经删除，用来同步服务器数据库")
    private Integer sfnPrepriceDeleted;

    @ApiModelProperty("当服务器断开时所增加/修改过的记录")
    private Integer sfnPrepriceNew;
    @TableField("DownedID1")
    private Integer downedID1;
    @TableField("DownedID2")
    private Integer downedID2;
    @TableField("DownedID3")
    private Integer downedID3;
    @TableField("DownedID4")
    private Integer downedID4;
    @TableField("DownedID5")
    private Integer downedID5;
    @TableField("DownedID6")
    private Integer downedID6;
    @TableField("DownedID7")
    private Integer downedID7;
    @TableField("DownedID8")
    private Integer downedID8;
    @TableField("DownedID9")
    private Integer downedID9;
    @TableField("DownedID10")
    private Integer downedID10;
    @TableField("DownedID11")
    private Integer downedID11;
    @TableField("DownedID12")
    private Integer downedID12;
    @TableField("DownedID13")
    private Integer downedID13;
    @TableField("DownedID14")
    private Integer downedID14;
    @TableField("DownedID15")
    private Integer downedID15;
    @TableField("DownedID16")
    private Integer downedID16;
    @TableField("DownedID17")
    private Integer downedID17;
    @TableField("DownedID18")
    private Integer downedID18;
    @TableField("DownedID19")
    private Integer downedID19;
    @TableField("DownedID20")
    private Integer downedID20;

    @ApiModelProperty("数据来源厂区")
    private String dataFrom;
}
